package model.board;

import model.member.MemberVO;

import org.springframework.web.multipart.MultipartFile;

public class BoardVO {
	private int no;
	private String title;
	private String contents;
	private String w_data;
	private int count;
	private String category;
	private MemberVO memberVO;
	private MultipartFile uploadFile;// 업로드 파일
	private String orgfilename;// 업로드한 원본 파일명
	private String newfilename;// 시간_파일명 변경 파일명 
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContents() {
		return contents;
	}
	public void setContents(String contents) {
		this.contents = contents;
	}
	public String getW_data() {
		return w_data;
	}
	public void setW_data(String w_data) {
		this.w_data = w_data;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public MemberVO getMemberVO() {
		return memberVO;
	}
	public void setMemberVO(MemberVO memberVO) {
		this.memberVO = memberVO;
	}
	public MultipartFile getUploadFile() {
		return uploadFile;
	}
	public void setUploadFile(MultipartFile uploadFile) {
		this.uploadFile = uploadFile;
	}
	public String getOrgfilename() {
		return orgfilename;
	}
	public void setOrgfilename(String orgfilename) {
		this.orgfilename = orgfilename;
	}
	public String getNewfilename() {
		return newfilename;
	}
	public void setNewfilename(String newfilename) {
		this.newfilename = newfilename;
	}
	@Override
	public String toString() {
		return "BoardVO [no=" + no + ", title=" + title + ", contents="
				+ contents + ", w_data=" + w_data + ", count=" + count
				+ ", category=" + category + ", memberVO=" + memberVO
				+ ", uploadFile=" + uploadFile + ", orgfilename=" + orgfilename
				+ ", newfilename=" + newfilename + "]";
	}
	public BoardVO(int no, String title, String contents, String w_data,
			int count, String category, MemberVO memberVO,
			MultipartFile uploadFile, String orgfilename, String newfilename) {
		super();
		this.no = no;
		this.title = title;
		this.contents = contents;
		this.w_data = w_data;
		this.count = count;
		this.category = category;
		this.memberVO = memberVO;
		this.uploadFile = uploadFile;
		this.orgfilename = orgfilename;
		this.newfilename = newfilename;
	}
	public BoardVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
